package com.kangyi.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "员工管理分页传回数据格式")
public class EmployeePageQueryDTO implements Serializable {

    @ApiModelProperty("养老院id")
    private Integer nursingHomeId;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("年龄")
    private String age;
    @ApiModelProperty("性别")
    private Integer gender;
    @ApiModelProperty("职位：2院长 3副院长 4支部书记 5办公室主任 6医生 7护士 8护工")
    private Integer position;
    @ApiModelProperty("类型: 2养老院管理类 3养老院医护类")
    private Integer permissions;
    @ApiModelProperty("状态：（1启用，2禁用）")
    private Integer status;
    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("数量")
    private Integer pageSize;
}
